package account;

import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ASUS
 * Date: 2023-11-27
 * Time: 17:50
 */
public class Operation extends BankAccount {
    public void Operation(){
        Scanner sc = new Scanner(System.in);
        boolean flag = true;
        while (flag){
            System.out.println("请选择你要进行的操作->");
            int a = sc.nextInt();
            switch (a){
                case 0:
                    System.out.println("退出系统！");
                    flag = false;
                    break;
                case 1:
                    System.out.println("请输入你的银行卡号：");
                    int id = sc.nextInt();
                    System.out.println("请输入你的账户名：");
                    String name = sc.next();
                    System.out.println("你的账户余额为：");
                    double number = sc.nextDouble();

                    break;
            }
        }


    }

}
